Hi there,
Lets say I have a straight line with points 1, 2, 3, 4
I want to add a point between 2 and 3
If I simply use addpoint(0, newPosition) I'll get 1, 2, 5, 3, 4
Is there a way of adding a point inbetween 2 and 3 so that the IDs after point 2 increase?
I imagine splitting the array of all points in 2, adding my new array of points and then connecting all 3 together again.
How would I go about that? I think I'm just missing the name of the array that contains all points in my geo, any clues?
Thanks so much in advance!
Found 1 posts.
Search results Show results as topic list.
Houdini Indie and Apprentice » VEX: Adding pts inbetween pts (and shifting point IDs)
- Florian Thamer
- 1 posts
- Offline
-
- Quick Links